package reflect;


import java.util.Arrays;

public class ArgsDemo {
    public static void main(String[] args) {
        doSome();
        doSome("hello");
        doSome("hello", "world");
        doSome("123", "231", "321");
    }

    public static void doSome(String... arg) {
        System.out.println(arg.length);
        System.out.println(Arrays.toString(arg));
    }
}
